<?php echo $this->Html->css(array(HOST.'/dictionary',HOST.'/form',HOST.'/actions'),null,array('inline'=>false));?>
<?php echo $this->Html->script(array(HOST.'/actions'),$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));?>

<body>
<?php echo $this->Section->main(); ?>

	<div class="container container_3">		
		<div class='grid_1'>
			<?php echo $this->Html->link($this->Html->image(HOST.'/logo.png'),'/',array('escape'=>false))?>
			<?php echo $this->element('menu-left')?>
		</div>		
		<div class='grid_2'>
			<div class="container container_offers_3">
				<div class="offers_grid_3">
					<div class="content">



							<div class="transakcjas form">
							<?php echo $this->Form->create('Transakcja');?>
								<fieldset>
									<legend><?php __('Edytuj Transakcję'); ?></legend>
								<?php
									echo $this->Form->input('id',array('label'=>__('Numer',true),'type'=>'text','style'=>'width: 40px;'));
									echo $this->Form->input('name');
								?>
								</fieldset>
							<?php echo $this->Form->end(__('Submit', true));?>
							</div>
							
							
							<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>		
							<div class="actions main_actions">
								<h3><?php __('Actions'); ?></h3>
								<ul>
									<li><?php echo $this->Html->link(__('Usuń transakcję', true), array('action' => 'delete', $this->Form->value('Transakcja.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Transakcja.id'))); ?></li>
									<li><?php echo $this->Html->link(__('Słownik transakcji', true), array('action' => 'index'));?></li>
									<li><?php echo $this->Html->link(__('Lista ofert', true), array('controller' => 'offers', 'action' => 'index')); ?> </li>

								</ul>
							</div>
							<?php }?>
					
					
					
					</div>
				</div>
			</div>
		</div>
		<div class='clear'>&nbsp;</div>
		<?php echo $this->element('footer')?>
	</div>
	<div class='clear'>&nbsp;</div>
</body>			